<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<!-- HTML file produced from file: manual.tex --
 -- using Hyperlatex v 2.3.1 (c) Otfried Cheong--
 -- on Emacs 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid, Fri Dec  3 20:36:14 2004 -->
<HEAD>
<TITLE>Scheme 48 Manual -- Resource query and control</TITLE>

</HEAD><BODY BGCOLOR="#ffffff">
<EM>Scheme 48 Manual</EM> | <A HREF="s48manual.html#top_node">Contents</A> | In Chapter: <A HREF="s48manual_11.html">Command processor</A><BR>Previous: <A HREF="s48manual_20.html">Building images</A> | Next: <A HREF="s48manual_22.html">Threads</A>
<H2>Resource query and control</H2>
.
<P><DL><DT><B></B><DD><CODE>,time <CODE><I>exp</I></CODE></CODE><BR>Measure execution time.
<P><DT><B></B><DD><CODE>,collect</CODE><BR>Invoke the garbage collector.  Ordinarily this happens
    automatically, but the command tells how much space is available
    before and after the collection.
<P><DT><B></B><DD><CODE>,keep <CODE><I>kind</I></CODE></CODE>
<DT><B></B><DD><CODE>,flush <CODE><I>kind</I></CODE></CODE><BR>These control the amount of debugging information retained after
    compiling procedures.  This information can consume a fair amount
    of space.  <CODE><I>kind</I></CODE> is one of the following:
<UL><LI><CODE>maps</CODE> - environment maps (local variable names, for inspector)
<LI><CODE>source</CODE> - source code for continuations (displayed by inspector)
<LI><CODE>names</CODE> - procedure names (as displayed by <CODE>write</CODE> and in error
       messages)
<LI><CODE>files</CODE>  - source file names
</UL>
    These commands refer to future compilations only, not to procedures
    that already exist.  To have any effect, they must be done before
    programs are loaded.  The default is to keep all four types.
<DT><B></B><DD><CODE>,flush</CODE><BR>The flush command with no argument deletes the database of names
    of initial procedures.  Doing <CODE>,flush</CODE> before a <CODE>,build</CODE> or
    <CODE>,dump</CODE>
    will make the resulting image significantly smaller, but will
    compromise the information content of many error
    messages.
</DL>
<P><P>
  
Previous: <A HREF="s48manual_20.html">Building images</A> | Next: <A HREF="s48manual_22.html">Threads</A></BODY></HTML>
